package com.example.managesystem.service.impl;

import com.example.managesystem.dao.headImagesMapper;
import com.example.managesystem.entity.backGround;
import com.example.managesystem.entity.headImages;
import com.example.managesystem.service.imageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class imageServiceImpl implements imageService {
    @Autowired
    private headImagesMapper headImagesMapper;
    @Autowired
    private com.example.managesystem.dao.backMapper backMapper;

    @Override
    public List<headImages> selectImages() {
        return headImagesMapper.selectImages();
    }

    @Override
    public List<backGround> selectBack() {
        return backMapper.selectBack();
    }
}
